﻿<Application x:Class="Hisaab.Windows.Client.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:Client="clr-namespace:Hisaab.Windows.Client"
             xmlns:View="clr-namespace:Hisaab.Windows.Client.View" >
    <Application.Resources>
        <ResourceDictionary>
            <DataTemplate x:Key="loginViewModel" >
                <View:Login/>
            </DataTemplate>
            <DataTemplate x:Key="tagEditorViewModel" >
                <View:TagEditorView/>
            </DataTemplate>
            <DataTemplate x:Key="tagSummaryViewModel" >
                <View:TagSummaryView/>
            </DataTemplate>
            <DataTemplate x:Key="transactionViewModel" >
                <View:TransactionView/>
            </DataTemplate>
            <DataTemplate x:Key="accountSummaryViewModel" >
                <View:AccountSummaryView/>
            </DataTemplate>
            <DataTemplate x:Key="vehicleEditorViewModel" >
                <View:VehicleEditorView/>
            </DataTemplate>
            <DataTemplate x:Key="vehicleTransactionViewModel" >
                <View:VehicleTransactionView/>
            </DataTemplate>
            <DataTemplate x:Key="relateTransactionViewModel">
                <View:RelateTransactionView />
            </DataTemplate>
            <DataTemplate x:Key="backupViewModel">
                <View:BackupView/>
            </DataTemplate>
            <DataTemplate x:Key="dashboardViewModel">
                <View:DashboardView />
            </DataTemplate>
            <Client:HisaabDataTemplateSelector x:Key="hisaabDataTemplateSelector"/>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Dictionaries/Colors.xaml" />
                <ResourceDictionary Source="Dictionaries/Brushes.xaml" />
                <ResourceDictionary Source="Dictionaries/TextStyles.xaml"/>
                <ResourceDictionary Source="Dictionaries/Templates.xaml"/>
                <ResourceDictionary Source="Dictionaries/Styles.xaml" />
                <ResourceDictionary Source="Dictionaries/RibbonStyles.xaml" />
                <ResourceDictionary Source="Dictionaries/icons.xaml" />
                <ResourceDictionary Source="/Fluent;Component/Themes/Office2010/Silver.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>